package com.example.blogsystem.model;


public enum StatusCode {
    RESULT_SUCCESS(200,"成功"),RESULT_FAIL(-1,"失败");
    private final Integer code;
    private final String msg;

    StatusCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }
}
